using Microsoft.VisualBasic.CompilerServices;
using Zhaoxi.Zhihu.Core.Common;
using Zhaoxi.Zhihu.SharedKerel.Domain;

namespace Zhaoxi.Zhihu.Core.AppUserAggregate.Entites;

public class AppUser:BaseAuditEntity,IAggregateRoot
{
    public AppUser()
    {
        
    }

    public AppUser(int userId)
    {
        Id = userId;
    }
    
    public string? Nickname { get; set; }
    
    public string? Avatar { get; set; }
    
    public string? Bio { get; set; }
    
    //关注列表
    public ICollection<FollowUser> Followees { get; set; } = new List<FollowUser>();
    //粉丝列表
    public ICollection<FollowUser> Followers { get; set; } = new List<FollowUser>();
    //关注问题
    public ICollection<FollowQuestion> FollowQuestions { get; set; } = new List<FollowQuestion>();

}